package com.sc.collection.feign;

import com.sc.collection.entity.City;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author shuchang
 * @Date 2018/3/19 下午2:19
 */
@FeignClient("zuul-service")
public interface FeignService {


    @GetMapping("/city/cities")
    /**
     * listcity 微服务
     */
    List<City> listCity();
}
